{template "header.html"}
<!--首页导航-->
<!--首页导航-->
{template "index-daohang.html"}

{template "fanhui.html"}
{php $huodongshuxing = \Phpcmf\Service::M()->db->table('1_quan_form_son')->where('id', $_GET['tid'])->get()->getRowArray();}
<form action="" class="" method="post" name="myform" id="myform">
	{$form}
	
<div class="d-kuangjia d-kuangjia-0">
	<div class="row">
		<div class="col-md-2 d-yincang d-piaofu-95-0 d-guding-95  " >
			<span style="width: 10px; color: #ffffff;">.</span>
			<div class="d-piaofu-0-2-0 d-guding-95-ding d-wenzi-12 " style="color: #888a8d;">
				{$fabuguize}
			</div>
		</div>
		<div class="col-md-7">
			<div class="d-gao-60 d-yincang-pc "></div>
		    <div class="d-kuan-fu-10" id="question-submit">
				<div class="d-kuan d-beijing-baise d-yuanjiao-10 d-neikuang-10">
					
					
					{$qianduan}
					<!--标题-->
					
					{if $is_post_code}
						<div class="d-form-group" id="dr_row_code">
							<label class="control-label col-md-2"><span class="required" aria-required="true"> * </span> {dr_lang('验证码')}</label>
							<div class="col-md-2">
								<label>
									<div class="form-recaptcha">
										<div class="input-group">
											<input type="text" id="dr_code" class="form-control" name="code">
											<div class="input-group-btn fc-code">
												{dr_code(120, 35)}
											</div>
										</div>
									</div>
								</label>
							</div>
						</div>
					{/if}
					<div class="d-clear"></div>
				</div>
			</div>
			<div class="d-gao-110 "></div>
		</div>
		<div class="col-md-3 d-yincang">
			<!--发布-->
			{template "/quan/show-fabu.html"}
			<!--发布-->
		</div>
	</div>
</div>
    
	{template "fabu-anniu.html"}
	
</form>
<script>
	
	//var content = editor.getContent();
	
	// 获取两个元素  
	var $tupianzu = $('#dr_row_yuyinzu');  
	var $neirong = $('#dr_row_neirong');  
	$('#dr_yinyuedujinbi').css('width', '100%');  
	$('#dr_yinyuedujifen').css('width', '100%'); 
	
	// 确保两个元素都存在  
	if ($tupianzu.length > 0 && $neirong.length > 0) {  
	    // 查找两个元素的共同父元素（这里假设它们有共同的父元素）  
	    var $parent = $tupianzu.parent(); // 或者使用 $neirong.parent()，只要它们有相同的父元素  
	      
	    // 如果$tupianzu不是$neirong之前的兄弟元素，则移动它  
	    if (!$neirong.prevAll().filter(function() {  
	        return this.id === 'dr_row_yuyinzu';  
	    }).length) {  
	        // 在$neirong之前插入$tupianzu  
	        $tupianzu.detach().insertBefore($neirong);  
	    }  
	} else {  
	    console.log('一个或两个元素不存在');  
	}
	
	//禁止修改
	$('input[name="data[jgtkg]"]').prop('disabled', true);
	//隐藏开关
	$('#dr_row_yuyinkaiguan').hide();
	$(document).ready(function() {  
		// 选择name为"data[jgtkg]"且value为"1"的radio按钮，并设置为checked  
		
		var container = $('#ueditor_0');
		if (container.length > 0) {  
		    console.log('容器存在');  
		} else {  
		    console.log('容器不存在');  
		}
	    // 将#dr_row_neirong移动到#dr_row_tupianzu之前  
		try {  
			$('#dr_row_tupianzu').insertBefore('#dr_row_neirong');  
		} catch (error) {  
			console.error('An error occurred:', error);  
		}
	    
		
	});
function dr_m_fabu2() {
	$('.d-dibu-fabu').hide();
}
function d_huodong_chongzhi() {
    dr_iframe("{dr_lang('活动报名充值')}", "{dr_member_url('pay/recharge/index')}", '100%', '100%');
}
</script>
<style>
	/*编辑器内容下载*/
	#diyizhang_neirong{
		display: none;
	}
	#miaoshu_neirong{
		display: none;
	}
	#yuanchengtu_neirong{
		display: none;
	}
	#lianjie_neirong{
		display: none;
	}
	{if $qingchunkaiqi}

	.yanse {
	    color: #FFF;
	    background-color: {$qingchunzhuse};
	    border-color: {$qingchunzhuse};
	}
	{else}
	.yanse {
	    color: #FFF;
	    background-color: #11d2b5;
	    border-color: #11d2b5;
	}
	{/if}
	.edui-default .edui-editor {
	    border: 1px solid #ffffff;
	    background-color: #fdfdfd;
	    position: relative;
	    overflow: visible;
	    -webkit-border-radius: 4px;
	    -moz-border-radius: 4px;
	    border-radius: 5px;
	}
	.edui-default .edui-editor-toolbarboxouter {
	    border-bottom: 1px solid #ffffff;
	}
	.portlet.light.bordered {
	    border: 1px solid #f3f4f7!important;
	}
	.portlet.light {
	    padding: 12px 20px 15px;
	    background-color: #f3f4f7;
	}
	/*开关*/
	#dr_row_mpsankaiguan{
		display: none;
	}
	#dr_row_title{
		display: none;
	}
	/*商品*/
	#dr_row_shangpinzu{
		display: none;
	}
	/*设置*/
	#dr_row_shezhizu{
		display: none;
	}
	/*下载*/
	#dr_row_xiazaizu{
		display: none;
	}
	/*pk*/
	#dr_row_pkzu{
		display: none;
	}
	/*付费*/
	#dr_row_fufeizu{
		display: none;
	}
	/*活动*/
	#dr_row_huodongzu{
		display: none;
	}
	/*比赛*/
	#dr_row_bisaizu{
		display: none;
	}
	/*mp3*/
	#dr_row_mpsanzu{
		display: none;
	}

	/*招聘*/
	#dr_row_zhaopinzu {
		display: none;
	}
	#dr_row_qiuzuzu{
		display: none;
	}
	/*语音*/
	#dr_row_yuyinzu{
		
	}
	/*问答*/
	#dr_row_wendazu{
		display: none;
	}
	/*投票*/
	#dr_row_toupiaozu{
		display: none;
	}
	/*采集*/
	#dr_row_caijizu{
		display: none;
	}
	/*求租*/
	#dr_row_qiuzhizu{
		display: none;
	}
	/*出租*/
	#dr_row_chuzuzu{
		display: none;
	}
	/*图集*/
	#dr_row_tupianzu{
		display: none;
	}
	/*视频*/
	#dr_row_shipinzu{
		display: none;
	}
	/*封面*/
	#dr_row_thumb{
		display: none;
	}
	/*创业金*/
	#dr_row_cyjz{
		display: none;
	}
	#dr_tid {
		width: 100% !important;
	}
	.form .form-actions, .portlet-form .form-actions {
	    padding: 15px;
	    margin: 0;
	    background-color: #f5f5f5;
	    border-top: 1px solid #e7ecf1;
		
	}
	.preview {
	    height: 60px;
	    border: 1px solid #f5f5f5;
	}
	
	.dr_row_quanbu {
		/*display: none;*/
	}
	.form-group {
	    margin-bottom: 15px;
		clear:both;
		/*height: 50px;*/
	}
	.d_name_shoujihaoma {
		
	}
	.form-control {
	    display: block;
	    width: 100%;
	    height: 50px;
	    padding: 6px 12px;
		margin-bottom: 15px;
	    font-size: 16px;
	    line-height: 1.42857143;
	    color: #555555;
	    background-color: #ffffff;
	    background-image: none;
	    border: 1px solid #ffffff;
		border-bottom: 2px solid #dddddd !important;
	    border-radius: 2px;
	    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	}
	.form-control:focus {  
	    border-color: #ffffff;  
	    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);  
	}
	.form-control:hover {
	    display: block;
	    width: 100%;
	    height: 50px;
	    padding: 6px 12px;
	    font-size: 16px;
	    line-height: 1.42857143;
	    color: #555555;
	    background-color: #fcfdff;
	    background-image: none;
	    border: 1px solid #ffffff;
	    border-radius: 4px;
	    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	}
	input:-internal-autofill-selected {
	    appearance: menulist-button;
	    background-image: none !important;
	    background-color: light-dark(rgb(254, 254, 254), rgba(70, 90, 126, 0.4)) !important;
	    color: fieldtext !important;
	}
	select {
	    font-weight: normal;
	    display: block;
	    white-space: nowrap;
	    min-height: 1.2em;
	    padding: 0px 2px 1px;
		border: 1px solid #f3f4f7;
		border-radius: 4px;
	}
	.form-horizontal .form-group {
	    margin-left: 0px;
	    margin-right: 0px;
		margin-bottom: 15px;
	}
	.btn-default {
	    color: #333;
	    background-color: #f5f5f5;
	    border-color: #f5f5f5;
	}
	.panel-default>.panel-heading {
	    color: #333;
	    background-color: #ffffff;
	    border-color: #f5f5f5;
	}
	.note-editor .note-toolbar {
	    border-bottom: 1px solid #ffffff;
	    -webkit-border-radius: 4px 4px 0 0;
	    -moz-border-radius: 4px 4px 0 0;
	    -ms-border-radius: 4px 4px 0 0;
	    -o-border-radius: 4px 4px 0 0;
	    border-radius: 4px 4px 0 0;
	}
	.note-editor.note-frame .note-editing-area .note-editable, .note-editor.note-airframe .note-editing-area .note-editable {
	    padding: 10px;
	    overflow: auto;
	    word-wrap: break-word;
	    background-color: #f8f8f8;
		border-radius: 10px;
		font-size: 16px;
	}
	.note-editor.note-frame, .note-editor.note-airframe {
	    border: 1px solid #ffffff;
	    border-radius: 4px;
	}
	.note-editor.note-frame .note-status-output:empty, .note-editor.note-airframe .note-status-output:empty {
	    height: 0;
	    border-top: 0 solid transparent;
		display: none;
	}
	.note-editor.note-frame .note-statusbar .note-resizebar, .note-editor.note-airframe .note-statusbar .note-resizebar {
	    padding-top: 1px;
	    height: 9px;
	    width: 100%;
	    cursor: ns-resize;
		display: none;
	}
	.note-editor.note-frame .note-statusbar, .note-editor.note-airframe .note-statusbar {
	    background-color: #ffffff;
	    border-bottom-left-radius: 4px;
	    border-bottom-right-radius: 4px;
	    border-top: 1px solid #ffffff;
		display: none;
		
	}
	#dr_row_shenhe {
		display: none;
	}
	#dr_row_xiazaizu {
		display: none;
	}
	#dr_row_fufeizu{
		display: none;
	}
	#dr_row_shezhizu{
		display: none;
	}
	.mt-checkbox-inline {
		display: none;
	}
	.note-style {
		display: none;
	}
	.note-font {
		display: none;
	}
	.note-fontname {
		display: none;
	}
	.note-color {
		display: none;
	}
	.note-para {
		display: none;
	}
	.note-table {
		display: none;
	}
	.note-attach {
		display: none;
	}
	.note-video {
		/**display: none;*/
	}
	.note-view {
		display: none;
	}
	#dr_row_syzs {
		display: none;
	}
	.d-dibu-fabu {
	    position: fixed;
	    bottom: 0;
	    z-index: 1000;
	    /* display: -webkit-box; */
	    /* display: -webkit-flex; */
	    /* display: flex; */
	    width: 100%;
	    /*background-color: #f3f4f7;
	    box-shadow: 0 0 0 rgb(0 0 0 / 0%);*/
	}
</style>

{template "mfooter.html"}